package work.droit.data;

import work.droit.data.Champs.DefinitionChamp;
import work.util.data.table.Tables.Champ.SqlType;
import work.util.data.table.Tables.Record;

public class Definition extends Record<DefinitionChamp>
{
	public Definition()
	{
		super(TABLENAME);
		setChamp(id, null);
		setChamp(mot, "");
		setChamp(categorie, "");
	}

	public static DefinitionChamp id = new DefinitionChamp("id", SqlType.INT, true);
	public static DefinitionChamp mot = new DefinitionChamp("mot", SqlType.VARCHAR100);
	public static DefinitionChamp categorie = new DefinitionChamp("categorie", SqlType.VARCHAR50);

	public static String TABLENAME = "definition";
}
